from api.ihrm_login_api import IhrmLoginApi



def get_header():
    req_data = {"mobile": "13800000001", "password": "123456"}
    resp = IhrmLoginApi.ihrm_login(req_data)
    header = {"Authorization": resp.json().get("data")}
    return header


if __name__ == '__main__':
    header = get_header()
    print(header)